package cn.bsuc.crm.service;

import cn.bsuc.crm.dto.CustomerseverDTO;
import cn.bsuc.crm.entity.CustomerServe;
import cn.bsuc.crm.entity.User;
import cn.bsuc.crm.vo.CustomerServeVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuoyuan
 * @since 2022-10-03
 */
public interface CustomerServeService extends IService<CustomerServe> {
//动态模糊查询
    Page<CustomerServeVO> CustomerServeByParams(Integer pageNo, Integer pageSize, CustomerseverDTO customerseverDTO);

    //服务sever查询分页
    Page<CustomerServe> selectAllServe(Integer pageNo, Integer pageSize);
//添加
    int insertAdd(CustomerServe customerServe);

    int updateService(CustomerServe customerServe);

    List<CustomerServe> selectchuli(String username);

    


}
